package org.dromara.business.domain;

import org.dromara.common.mybatis.core.domain.BaseEntity;
import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serial;

/**
 * 用户关注对象 t_user_follow
 *
 * @author Hao Tong Xue
 * @date 2025-04-03
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("t_user_follow")
public class UserFollow extends BaseEntity {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 关注关系 ID
     */
    @TableId(value = "id")
    private Long id;

    /**
     * 关注者的用户 ID
     */
    private Long followerId;

    /**
     * 被关注者的用户 ID
     */
    private Long followingId;

    /**
     * 删除标志（0代表存在 1代表删除）
     */
    @TableLogic
    private String delFlag;

    /**
     * 备注
     */
    private String remark;


}
